package fun.sweeper.unity.entity;

import fun.sweeper.base.entity.BaseEntity;

import java.util.Date;

/**
 * 用户详细信息表 hh_user_detail
 * @author chongjin
 */
public class HhUserDetail extends BaseEntity {

    private static final Long serialVersionUID = 6581982536715266770L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 组织id
     */
    private Long orgId;

    /**
     * 角色类型 0:admin 1:manager 2:worker 3:consumer 99:superAdmin
     */
    private Integer role;

    /**
     * 师傅id
     */
    private Long workerId;

    /**
     * 用户余额
     */
    private String account;

    /**
     * 使用权重
     */
    private Integer weight;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否删除 0:否 1:是
     */
    private Integer isDel;

    /**
     * 创建用户ID
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新用户ID
     */
    private Long updateUser;

    /**
     * 更新时间
     */
    private Date updateTime;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

}
